#/usr/bin/env python
#-*- coding:utf8 -*-

import os

fname = ""

while True:
    fname = raw_input("###Please input the file name: ")
    if os.path.exists(fname):
        break
    print "!!!error, fname '%s' not exists" % fname

f_obj = open(fname, "r")
for ln in f_obj:
    print ln
f_obj.close()

